package com.fa4j.product.category.repository;

import com.fa4j.common.data.repository.BaseRepository;
import com.fa4j.product.category.model.Category;

import java.util.List;

/**
 * 持久化接口-商品分类
 *
 * @since 2025-11-22 21:06:24
 */
public interface CategoryRepository extends BaseRepository<Category> {

    List<Category> queryAllList();

    long countByParentId(Integer id);
}


